package com.ccrfid.rmc6.service.personnel;

import com.ccrfid.rmc6.appconfig.exception.pojo.AppException;
import com.ccrfid.rmc6.entity.personnel.*;
import com.ccrfid.rmc6.entity.poi.PoiLocationEntity;
import com.ccrfid.rmc6.lbservice3.pojo.msg.MsgLocate;
import com.ccrfid.rmc6.pojo.dto.*;
import com.ccrfid.rmc6.pojo.dto.personnel.PersonnelLocatorDto;
import com.ccrfid.rmc6.pojo.dto.personnel.PrisonerStatisticDto;
import com.ccrfid.rmc6.pojo.param.SortParam;
import com.ccrfid.rmc6.repository.search.SearchCriteria;
import com.vividsolutions.jts.geom.Polygon;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.CachePut;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.cache.annotation.Caching;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

import java.sql.Timestamp;
import java.util.List;
import java.util.Set;

public interface PersonnelTypeService {

    PersonnelTypeEntity createPeronnelType(PersonnelTypeEntity personnelTypeEntity)throws AppException;

    PersonnelTypeEntity updatePersonnelType(Long id, PersonnelTypeEntity personnelTypeEntity)throws AppException;

    boolean deletePersonnelType(Long id)throws AppException;

    Page<PersonnelTypeEntity> getPersonnelType(SearchCriteria criteria, Pageable pageable);

}
